package entity;
/*
 * wareid varchar(15) primary key,  -- 商品流水号
   warename varchar(200) not null,  -- 商品名
   abbreviation varchar(16),        -- 简称
   prodarea varchar(200) not null,  -- 产地
   specification varchar(200) not null, -- 规格
   batchnum varchar(50) not null,  -- 批号
   suppid varchar(15) not null,    -- 供应商编号
   remark varchar(500),           -- 备注
 */
public class Ware {
	private String  wareid; 
	private String  warename; 
	private String  abbreviation; 
	private String  prodarea; 
	private String  specification; 
	private String  batchnum; 
	private String  suppid; 
	private String  remark;
	
	
	
	public Ware(String wareid, String warename, String abbreviation, String prodarea, String specification,
			String batchnum, String suppid, String remark) {
		super();
		this.wareid = wareid;
		this.warename = warename;
		this.abbreviation = abbreviation;
		this.prodarea = prodarea;
		this.specification = specification;
		this.batchnum = batchnum;
		this.suppid = suppid;
		this.remark = remark;
	}
	public Ware() {
		super();
	}
	public String getWareid() {
		return wareid;
	}
	public void setWareid(String wareid) {
		this.wareid = wareid;
	}
	public String getWarename() {
		return warename;
	}
	public void setWarename(String warename) {
		this.warename = warename;
	}
	public String getAbbreviation() {
		return abbreviation;
	}
	public void setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
	}
	public String getProdarea() {
		return prodarea;
	}
	public void setProdarea(String prodarea) {
		this.prodarea = prodarea;
	}
	public String getSpecification() {
		return specification;
	}
	public void setSpecification(String specification) {
		this.specification = specification;
	}
	public String getBatchnum() {
		return batchnum;
	}
	public void setBatchnum(String batchnum) {
		this.batchnum = batchnum;
	}
	public String getSuppid() {
		return suppid;
	}
	public void setSuppid(String suppid) {
		this.suppid = suppid;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Override
	public String toString() {
		return "Ware [wareid=" + wareid + ", warename=" + warename + ", abbreviation=" + abbreviation + ", prodarea="
				+ prodarea + ", specification=" + specification + ", batchnum=" + batchnum + ", suppid=" + suppid
				+ ", remark=" + remark + "]";
	} 
}
